  /**
   * Generate time : 2016-04-11 13:40:41
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cg.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCGDutyschedule 
 * table comment : 领导值班表 
 */
public class ZMCGDutyschedule extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdMiningName = " ";		/* 矿井名称*/
	private String fdMiningId = " ";		/* 矿井id*/
	private String fdWorknumId = " ";		/* 生产班次*/
	private String fdCreateUserId = " ";		/* 录入人ID*/
	private String fdCreateUser = " ";		/* 录入人*/
	private String fdCreateDepartmentId = " ";		/* 编制部门ID*/
	private String fdCreateDepartment = " ";		/* 编制部门*/
	private String fdEditDate = " ";		/* 编制日期*/
	private String fdVirtualDate = " ";		/* 调度日期*/
	private String fdLeaderName = " ";		/* 调度人员姓名*/
	private String fdWorkRecord = " ";		/* 工作内容*/
	private String fdDdzrName = " ";		
	private String fdDdzaoName = " ";		
	private String fdDdzhongName = " ";		
	private String fdDdwanName = " ";		
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorknumId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("生产班次");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateUserId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("录入人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateUser");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("录入人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("编制部门ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCreateDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("编制部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdEditDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("编制日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdVirtualDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("调度日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdLeaderName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("调度人员姓名");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdWorkRecord");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("工作内容");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDdzrName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDdzaoName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDdzhongName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDdwanName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCGDutyschedule() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdMiningName - 矿井名称
	 * @return the fdMiningName
	 */
	public String getFdMiningName() {
		return this.fdMiningName;
	}
	
	/**
	 * set the fdMiningName - 矿井名称
	 */
	public void setFdMiningName(String fdMiningName) {
		this.fdMiningName = fdMiningName;
	}
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	/**
	 * get the fdWorknumId - 生产班次
	 * @return the fdWorknumId
	 */
	public String getFdWorknumId() {
		return this.fdWorknumId;
	}
	
	/**
	 * set the fdWorknumId - 生产班次
	 */
	public void setFdWorknumId(String fdWorknumId) {
		this.fdWorknumId = fdWorknumId;
	}
	/**
	 * get the fdCreateUserId - 录入人ID
	 * @return the fdCreateUserId
	 */
	public String getFdCreateUserId() {
		return this.fdCreateUserId;
	}
	
	/**
	 * set the fdCreateUserId - 录入人ID
	 */
	public void setFdCreateUserId(String fdCreateUserId) {
		this.fdCreateUserId = fdCreateUserId;
	}
	/**
	 * get the fdCreateUser - 录入人
	 * @return the fdCreateUser
	 */
	public String getFdCreateUser() {
		return this.fdCreateUser;
	}
	
	/**
	 * set the fdCreateUser - 录入人
	 */
	public void setFdCreateUser(String fdCreateUser) {
		this.fdCreateUser = fdCreateUser;
	}
	/**
	 * get the fdCreateDepartmentId - 编制部门ID
	 * @return the fdCreateDepartmentId
	 */
	public String getFdCreateDepartmentId() {
		return this.fdCreateDepartmentId;
	}
	
	/**
	 * set the fdCreateDepartmentId - 编制部门ID
	 */
	public void setFdCreateDepartmentId(String fdCreateDepartmentId) {
		this.fdCreateDepartmentId = fdCreateDepartmentId;
	}
	/**
	 * get the fdCreateDepartment - 编制部门
	 * @return the fdCreateDepartment
	 */
	public String getFdCreateDepartment() {
		return this.fdCreateDepartment;
	}
	
	/**
	 * set the fdCreateDepartment - 编制部门
	 */
	public void setFdCreateDepartment(String fdCreateDepartment) {
		this.fdCreateDepartment = fdCreateDepartment;
	}
	/**
	 * get the fdEditDate - 编制日期
	 * @return the fdEditDate
	 */
	public String getFdEditDate() {
		return this.fdEditDate;
	}
	
	/**
	 * set the fdEditDate - 编制日期
	 */
	public void setFdEditDate(String fdEditDate) {
		this.fdEditDate = fdEditDate;
	}
	/**
	 * get the fdVirtualDate - 调度日期
	 * @return the fdVirtualDate
	 */
	public String getFdVirtualDate() {
		return this.fdVirtualDate;
	}
	
	/**
	 * set the fdVirtualDate - 调度日期
	 */
	public void setFdVirtualDate(String fdVirtualDate) {
		this.fdVirtualDate = fdVirtualDate;
	}
	/**
	 * get the fdLeaderName - 调度人员姓名
	 * @return the fdLeaderName
	 */
	public String getFdLeaderName() {
		return this.fdLeaderName;
	}
	
	/**
	 * set the fdLeaderName - 调度人员姓名
	 */
	public void setFdLeaderName(String fdLeaderName) {
		this.fdLeaderName = fdLeaderName;
	}
	/**
	 * get the fdWorkRecord - 工作内容
	 * @return the fdWorkRecord
	 */
	public String getFdWorkRecord() {
		return this.fdWorkRecord;
	}
	
	/**
	 * set the fdWorkRecord - 工作内容
	 */
	public void setFdWorkRecord(String fdWorkRecord) {
		this.fdWorkRecord = fdWorkRecord;
	}
	/**
	 * get the fdDdzrName 
	 * @return the fdDdzrName
	 */
	public String getFdDdzrName() {
		return this.fdDdzrName;
	}
	
	/**
	 * set the fdDdzrName 
	 */
	public void setFdDdzrName(String fdDdzrName) {
		this.fdDdzrName = fdDdzrName;
	}
	/**
	 * get the fdDdzaoName 
	 * @return the fdDdzaoName
	 */
	public String getFdDdzaoName() {
		return this.fdDdzaoName;
	}
	
	/**
	 * set the fdDdzaoName 
	 */
	public void setFdDdzaoName(String fdDdzaoName) {
		this.fdDdzaoName = fdDdzaoName;
	}
	/**
	 * get the fdDdzhongName 
	 * @return the fdDdzhongName
	 */
	public String getFdDdzhongName() {
		return this.fdDdzhongName;
	}
	
	/**
	 * set the fdDdzhongName 
	 */
	public void setFdDdzhongName(String fdDdzhongName) {
		this.fdDdzhongName = fdDdzhongName;
	}
	/**
	 * get the fdDdwanName 
	 * @return the fdDdwanName
	 */
	public String getFdDdwanName() {
		return this.fdDdwanName;
	}
	
	/**
	 * set the fdDdwanName 
	 */
	public void setFdDdwanName(String fdDdwanName) {
		this.fdDdwanName = fdDdwanName;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdMiningName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningName")), fdMiningName));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
		setFdWorknumId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorknumId")), fdWorknumId));
		setFdCreateUserId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateUserId")), fdCreateUserId));
		setFdCreateUser(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateUser")), fdCreateUser));
		setFdCreateDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateDepartmentId")), fdCreateDepartmentId));
		setFdCreateDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCreateDepartment")), fdCreateDepartment));
		setFdEditDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdEditDate")), fdEditDate));
		setFdVirtualDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdVirtualDate")), fdVirtualDate));
		setFdLeaderName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdLeaderName")), fdLeaderName));
		setFdWorkRecord(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWorkRecord")), fdWorkRecord));
		setFdDdzrName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDdzrName")), fdDdzrName));
		setFdDdzaoName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDdzaoName")), fdDdzaoName));
		setFdDdzhongName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDdzhongName")), fdDdzhongName));
		setFdDdwanName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDdwanName")), fdDdwanName));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdMiningName",StringUtils.toString(fdMiningName, eiMetadata.getMeta("fdMiningName")));	
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));	
			map.put("fdWorknumId",StringUtils.toString(fdWorknumId, eiMetadata.getMeta("fdWorknumId")));	
			map.put("fdCreateUserId",StringUtils.toString(fdCreateUserId, eiMetadata.getMeta("fdCreateUserId")));	
			map.put("fdCreateUser",StringUtils.toString(fdCreateUser, eiMetadata.getMeta("fdCreateUser")));	
			map.put("fdCreateDepartmentId",StringUtils.toString(fdCreateDepartmentId, eiMetadata.getMeta("fdCreateDepartmentId")));	
			map.put("fdCreateDepartment",StringUtils.toString(fdCreateDepartment, eiMetadata.getMeta("fdCreateDepartment")));	
			map.put("fdEditDate",StringUtils.toString(fdEditDate, eiMetadata.getMeta("fdEditDate")));	
			map.put("fdVirtualDate",StringUtils.toString(fdVirtualDate, eiMetadata.getMeta("fdVirtualDate")));	
			map.put("fdLeaderName",StringUtils.toString(fdLeaderName, eiMetadata.getMeta("fdLeaderName")));	
			map.put("fdWorkRecord",StringUtils.toString(fdWorkRecord, eiMetadata.getMeta("fdWorkRecord")));	
			map.put("fdDdzrName",StringUtils.toString(fdDdzrName, eiMetadata.getMeta("fdDdzrName")));	
			map.put("fdDdzaoName",StringUtils.toString(fdDdzaoName, eiMetadata.getMeta("fdDdzaoName")));	
			map.put("fdDdzhongName",StringUtils.toString(fdDdzhongName, eiMetadata.getMeta("fdDdzhongName")));	
			map.put("fdDdwanName",StringUtils.toString(fdDdwanName, eiMetadata.getMeta("fdDdwanName")));	
			
		return map;
	
	}
}